package org.example.exampreparationtreasure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.exampreparationtreasure.model.entity.ExamPaperQuestion;

import java.util.List;

@Mapper
public interface ExamPaperQuestionMapper extends BaseMapper<ExamPaperQuestion> {
    
    /**
     * 批量插入试卷题目关联记录
     * @param paperQuestions 试卷题目关联列表
     */
    void insertBatch(@Param("list") List<ExamPaperQuestion> paperQuestions);
}